import { configureStore } from "@reduxjs/toolkit"
// 导入子模块reducer
import chatReducer from './modules/chat'
import userReducer from './modules/user'

const store = configureStore({
  reducer: {
    chat: chatReducer,
    user: userReducer
  }
})

export default store